from django import forms

from models import Upload

class UploadForm(forms.models.ModelForm):
    class Meta:
        model = Upload
        exclude = ('uploaded_by', 'timestamp')

class UploadFileForm(forms.Form):
    title = forms.CharField(max_length=50)
    file  = forms.FileField()
